package com.liuyutao.exam01;

import org.springframework.stereotype.Controller;

import javax.annotation.Resource;


@Controller("studentController")

public class StudentController {
    @Resource(name = "studentService")
    private StudentService studentService;

    public void save(){
        this.studentService.save();
        System.out.println("studentController...save...");
    }

}
